package com.lt.bcra.service;

import com.lt.bcra.entity.BcraDictionary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lt.bcra.result.ResultData;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LuoTian
 * @since 2022-05-30
 */
public interface BcraDictionaryService extends IService<BcraDictionary> {
    /**
     * 根据种类id查看字典数据
     * @param categoryId
     * @return
     */
    ResultData listByCategoryId(Integer categoryId,Long current,Long size);

    /**
     * 创建字典数据表
     * @param bcraDictionary
     * @return
     */
    ResultData saveDictionary(BcraDictionary bcraDictionary);
}
